﻿#pragma once
#include"core.h"
#include<iostream>
class Geometry {
public:
	Geometry();
	~Geometry();
	static Geometry* createBox(float size);
	static Geometry* createSphere(float size);
	GLuint getVao()const { return mVao; }
	uint32_t getIndicesCount()const { return mIndicesCount; }
private:
	GLuint mVao{0};
	GLuint mPosVbo{};
	GLuint mUvVbo{};
	GLuint mEbo{};
	uint32_t mIndicesCount{};

};